USE [Training]
GO

IF NOT EXISTS (SELECT * from dbo.sysobjects WHERE id = OBJECT_ID(N'dbo.training_api_LocationDelete'))
	EXEC('CREATE PROC dbo.training_api_LocationDelete AS')
GO

ALTER PROC dbo.training_api_LocationDelete
	@LocationID	int
AS
	DELETE FROM Location
	WHERE LocationID = @LocationID
